package net.zjitc.service;

import java.util.List;
import net.zjitc.pojo.Order;
import net.zjitc.pojo.Orderitem; /**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/17 14:25
 * @description:
 */
public interface OrderService {


  List<Order> findByUid(Integer uid);

  int add(Order order, List<Orderitem> orderitemList);


  List<Order> findAll();

  List<Orderitem> findOrderitemByOid(String oid);


  Integer editPayState(Order order);

  Integer editOsatate(Orderitem orderitem);

  Integer editOstateByItemid(Integer itemid);
}
